<?php
/**
  * Db.php
  *
  * This is not a freeware, use is subject to license terms
  * @author CLOUD DEV TEAM
  * 
  */
if (!defined('IN_CLOUD')) exit('Access Denied!');

class Db
{
	/**
	 * 根据条件创建session实例
	 * @param unknown_type $type
	 */
	public static function createDb( $type = 'mysql' )
	{
		$type = $type ? $type : 'mysql';
		switch ( $type )
		{
			case 'mysql' :
				return Db_Mysql::getInstance();	
			break;
		}
	}
}